package com.token.sysflow.action;
import com.token.base.FuncUtil;
import com.token.sql.IntegrateSql;
import com.token.sysflow.impl.CreateCallHSImpl;

/**
 * @author chenjianxiong 2020/4/12
 */
public class CreateCallHSAction extends AbstractFlowAction {
    public void executeAction(FuncUtil f,IntegrateSql iSql) throws Exception{
        CreateCallHSImpl handler = new CreateCallHSImpl();
        handler.setHSWay(f.getUrlQueryString("hsway",true,"策略条件"));  //all;0;xxx
        String approvers = f.getUrlQueryString("selectApprovers",true,"会审人");
        handler.setSelectApprover(approvers.split(";"));
        this.start(f,iSql,handler);
    }
}
